package uk.co.kevinlockwood.kol.pages;

/** "Most of what you see on the charpane." **/
public class ApiStatusPage extends ApiPage {

	public Integer getPlayerId() {
		return getInt("playerid");
	}
	public String getPwdHash() {
		return getString("pwd");
	}
	public String getName() {
		return getString("name");
	}

	@Override
	protected String what() {
		return "status";
	}

/* status:
{
	"playerid":"1219568",
	"name":"tenorkev",
	"hardcore":"0",
	"ascensions":"25",
	"path":"0",
	"sign":"Vole",
	"roninleft":"0",
	"casual":"0",
	"drunk":"18",
	"full":"15",
	"turnsplayed":"102229",
	"familiar":"88",
	"hp":"330",
	"mp":"10",
	"meat":"39825",
	"adventures":"13",
	"level":"15",
	"rawmuscle":"25099",
	"rawmysticality":"25290",
	"rawmoxie":"52020",
	"basemuscle":"158",
	"basemysticality":"159",
	"basemoxie":"228",
	"familiarexp":400,
	"class":"6",
	"lastadv":{
		"id":"290",
		"name":"A Super-Intense Mega-Grassfire",
		"link":"adventure.php?snarfblat=290",
		"container":"plains.php"
	},
	"title":"15",
	"maxhp":690,
	"maxmp":422,
	"muscle":530,
	"mysticality":402,
	"moxie":775,
	"famlevel":35,
	"locked":false,
	"daysthisrun":"73",
	"equipment":{
		"shirt":"2586",
		"pants":"4869",
		"offhand":"5647",
		"acc1":"1232",
		"acc2":"3668",
		"acc3":"5460",
		"fakehands":0
	},
	"stickers":[0,0,0],
	"eleronkey":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
	"flag_config":{
		"lazyinventory":0,
		"questtracker":0,
		"charpanepvp":0,
		"fffights":0,
		"compactchar":0,
		"noframesize":0,
		"fullnesscounter":"1",
		"nodevdebug":0,
		"noquestnudge":"1",
		"nocalendar":0,
		"alwaystag":0,
		"clanlogins":"1",
		"quickskills":0,
		"hprestorers":"1",
		"hidejacko":0,
		"anchorshelf":0,
		"showoutfit":0,
		"wowbar":0,
		"swapfam":"1",
		"invimages":0,
		"showhandedness":0,
		"acclinks":"1",
		"invadvancedsort":"1",
		"powersort":"1",
		"autodiscard":0,
		"unfamequip":0,
		"invclose":0,
		"sellstuffugly":0,
		"oneclickcraft":0,
		"dontscroll":0,
		"multisume":"1",
		"threecolinv":"1",
		"profanity":"1",
		"tc_updatetitle":0,
		"tc_alwayswho":0,
		"tc_times":"1",
		"tc_combineallpublic":0,
		"tc_eventsactive":0,
		"tc_hidebadges":0,
		"tc_colortabs":0,
		"tc_modifierkey":0,
		"tc_tabsonbottom":0,
		"chatversion":0,
		"aabosses":0,
		"autoattack":0,
		"topmenu":0
	},
	"recalledskills":1,
	"freedralph":1,
	"mcd":0,
	"pwd":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
	"rollover":1340595000,
	"turnsthisrun":3201,
	"familiar_wellfed":0,
	"intrinsics":[],
	"familiarpic":"chihuahua",
	"pathname":"",
	"effects":{
		"2d6d3ab04b40e1523aa9c716a04b3aab":["Leash of Linguini","35","string"],
		"c0a491f833b3490be4763e48a0a4c317":["Mariachi Mood","174","accordion"],
		"04bc18fe47f495a894774fa1bbb9713d":["Butt-Rock Hair","6","buttrock"],
		"2ca6aa31e5eed5cd125e9fd374b74a78":["Superhuman Sarcasm","1","wink"],
		"e176f70d3a673e928e6c93aa523b5e14":["Phorcefullness","1","strboost"],
		"ac32e95f470a7e0999863fa0db58d808":["Empathy","35","empathy"],
		"e3d1d1099648703e192a55a9aea17a1e":["Elemental Saucesphere","91","elesphere"],
		"c77eb3298c1bcba5e0147eba77a5a802":["The Moxious Madrigal","403","madrigal"],
		"63e73adb3ecfb0cbf544db435eeeaf00":["Fat Leon's Phat Loot Lyric","108","fatleons"],
		"2e5a803cf1be5b3d2aaa897e60f29138":["Stevedave's Shanty of Superiority","111","superiority"],
		"f27e3dcf9fd6b46b30347743c18ccb1b":["Aspect of the Twinklefairy","4","scwad"],
		"943ba3b11499412f041807f8a7835d75":["Go Get 'Em, Tiger!","6","strboost"],
		"7708ec6dfa757a3d3be799743135b566":["Trivia Master","180","trivia5"],
		"128eb24cfd0d9996bfa2e26280db8680":["Extra-Wet","18","doublewater"]
	}
}
 */
}
